﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="select.aspx.cs" Inherits="users_select" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
     <link href="../css/addbook.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .auto-style1 {
            width: 114px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <center>
        <div class="wrap">
	<div class="top">
    	<div class="top1">
        
           
        </div>
        
     </div>
            
        
    <div class="shortnfo">
         <h2>当前位置：订单管理->修改订单</h2>
     <div class="menuitems">
        
       

           <ul>
                      <li><a id="A1"  href="../master/index.aspx" runat="server">首页</a></li>
                       
                      <li><a href="../master/basic.aspx">退出</a></li>
                  </ul>
         
     </div>
    </div>
            <div class="content">
                 <table border="0" style="table-layout:fixed;width:100%; text-align:left;height:100%" >
                     <tr>
                         <td class="auto-style1">姓名：</td>
                         <td>
                             <asp:TextBox ID="num" runat="server" Width="282px" Height="16px"></asp:TextBox>
                         </td>
                         <td>
                         <asp:Button ID="Button1" runat="server" Text="查找" OnClick="select_Click" />
                         </td>
                        </tr>
                    
                         <tr>
                         <td colspan="3">
                             <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="用户信息"  AllowPaging="true" PageSize="5" OnPageIndexChanging="GridView1_PageIndexChanging" Height="100%" Width="100%">
                                 <Columns>
                                     <asp:BoundField DataField="姓名" HeaderText="姓名" ReadOnly="True" SortExpression="姓名" >
                                     <FooterStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                     </asp:BoundField>
                                     <asp:BoundField DataField="电话" HeaderText="电话" SortExpression="电话" >
                                     <FooterStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                     </asp:BoundField>
                                     <asp:BoundField DataField="地址" HeaderText="地址" SortExpression="地址" >
                                     <FooterStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                     </asp:BoundField>
                                     <asp:BoundField DataField="邮箱" HeaderText="邮箱" SortExpression="邮箱" >
                                     <FooterStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                     </asp:BoundField>
                                     <asp:BoundField DataField="账号" HeaderText="账号" SortExpression="账号" >
                                     <FooterStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                     </asp:BoundField>
                                    
                                 </Columns>
                                 <HeaderStyle HorizontalAlign="Center" />
                                 <RowStyle Height="46px" HorizontalAlign="Center" />
                             </asp:GridView>
                             <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString7 %>" ProviderName="<%$ ConnectionStrings:ConnectionString7.ProviderName %>" SelectCommand="select * from userdetails"></asp:SqlDataSource>
                         </td>
                     </tr>
                     </table>
            </div>
               <div class="footer">
    <p>Copyright ?2019  All Rights Reserved</p> 
     </div>
            </div>

    </center>
    
    </div>
    </form>
</body>
</html>
